<template>
  <FormView not-form form-width="100%">
    <OptionsEditor :value="options" style="padding-top: 10px" />
  </FormView>
</template>

<script>
  export default {
    name: 'DraggableList',
    data() {
      return {
        options: [
          {
            label: '选项1',
            value: '选项1',
            parentId: null
          },
          {
            label: '选项2',
            value: '选项2',
            parentId: null
          },
          {
            label: '选项1-1',
            value: '1-1',
            parentId: '选项1'
          },
          {
            label: '选项1-2',
            value: '1-2',
            parentId: '选项1'
          },
          {
            label: '选项2-1',
            value: '2-1',
            parentId: '选项2'
          }
        ]
      }
    }
  }
</script>
